package com.example.dziennikposilkow;

import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Moje_zapotrzebowanie extends DziennikMainActivity {
	

		
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        setContentView(R.layout.activity_moje_zapotrzebowanie);
        
        
        final Button button_mineraly = (Button) findViewById(R.id.buttonMineraly);
		button_mineraly.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {

				Intent intent = new Intent(Moje_zapotrzebowanie.this, Mineraly.class);
				startActivity(intent);
			}
			
		});
		
		final Button button_witaminy = (Button) findViewById(R.id.buttonWitaminy);
		button_witaminy.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {

				Intent intent = new Intent(Moje_zapotrzebowanie.this, Witaminy.class);
				startActivity(intent);
			}
			
		});
		
		final Button button_uzyskane_dane = (Button) findViewById(R.id.buttonUzyskaneDane);
		button_uzyskane_dane.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {

				Intent intent = new Intent(Moje_zapotrzebowanie.this, UzyskaneDane.class);
				startActivity(intent);
			}
			
		});
		
    }
}
